{include_core file="m/lib/header.html" title="服务详情" center="center"}
<div class="dispose">
  <h2>处理进度</h2>
  <ul>
    {if $service_info.type < 3}
    <li>
      <div class="dispose-box">
        <p>服务已申请，请您等待客服的联系</p>
        <p>{$service_info.add_time}</p>
      </div>
      <em></em>
    </li>
    {if $service_info.agree_time != '0000-00-00 00:00:00' && $service_info.refund_status >= 5 && $service_info.refund_status < 25}
    <li>
      <div class="dispose-box">
        <p>商家已同意，请您发货并告知商家</p>
        <p>{$service_info.agree_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.user_express_time != '0000-00-00 00:00:00' && $service_info.refund_status >= 10 && $service_info.refund_status < 25}
    <li>
      <div class="dispose-box">
        <p>商品寄送到商家</p>
        <p>{$service_info.user_express_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.type == 1}
      {if $service_info.refund_time != '0000-00-00 00:00:00' && $service_info.refund_status >= 15 && $service_info.refund_status < 25}
    <li>
      <div class="dispose-box">
        <p>退款中</p>
        <p>{$service_info.refund_time}</p>
      </div>
      <em></em>
    </li>
      {/if}
    {else}
      {if $service_info.refund_express_time != '0000-00-00 00:00:00' && $service_info.refund_status >= 15 && $service_info.refund_status < 25}
      <li>
        <div class="dispose-box">
          <p>商品寄回 {if $service_info.express_id}物流公司 :{_uri('express', $service_info.express_id, 'title')}　运单号码 :{$service_info.refund_express}{/if}</p>
          <p>{$service_info.refund_express_time}</p>
        </div>
        <em></em>
      </li>
      {/if}
    {/if}
    {if $service_info.refund_status == 20}
    <li>
      <div class="dispose-box">
        <p>服务完成</p>
        <p>{$service_info.update_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.refund_status == 23 && $service_info.refund_pay_status == 3}
    <li>
      <div class="dispose-box">
        <p>退款失败</p>
        <p>{$service_info.update_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.refund_status == 23 && $service_info.refund_pay_status == 4}
    <li>
      <div class="dispose-box">
        <p>退款故障，请联系客服人工退款</p>
        <p>{$service_info.update_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.refund_status == 25}
    <li>
      <div class="dispose-box">
        <p>服务取消</p>
        <p>{$service_info.update_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {if $service_info.refund_status == 30}
    <li>
      <div class="dispose-box">
        <p>请求被驳回　驳回原因 :{$service_info.note}</p>
        <p>{$service_info.update_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
    {else}
    <li>
      <div class="dispose-box">
        <p>维修服务已申请，请您耐心等待1-3个工作日，客服将主动联系您</p>
        <p>{$service_info.add_time}</p>
      </div>
      <em></em>
    </li>
    {/if}
  </ul>
</div>
  <!--dispose  end-->
{foreach $service_info.detail as $k=>$v}
<div class="dispose-address clearfix">
  <dl class="clearfix">
    <dt><img src="{_image($v.goods_cover, 'small')}"/></dt>
  <dd>
    <h2>{$v.goods_title}</h2>
    <p>商品订单号：{order_helper::order_id_encode($service_info.order_id)}</p>
  </dd>
  </dl>
  <div class="dispose-float">
    <p class="dispose-color">{number_format($v.refund_price, 2)}元</p>
    <p class="dispose2-color">数量：<span>{$v.refund_num}</span></p>
  </div>
</div>
{/foreach}
<!--dispose-address  end-->

<div class="dispose-list">
  <p>{$service_info.receiver}  {$service_info.mobile}</p>
  <p>{$service_info.province}  {$service_info.city}  {$service_info.district}  {$service_info.address}</p>
</div>
{include_core file="m/lib/footer.html" center="center"}